package com.model;

import java.io.Serializable;

/**
 * Created by QiHuang on 2015/10/26.
 */
public class Teacher implements Serializable {
    private int id;
    private String account;
    private String name;
    private String sex;
    private String birth;
    //居住地
    private String place;
    private String age;
    //民族
    private String nation;
    //政治面貌
    private String status;
    //学院
    private String college;
    //工作年龄
    private String workYear;
    //工作职位，如院长
    private String job;
    //负责专业
    private String major;
    private String password;

    public Teacher() {
    }

    public Teacher(int id, String account, String name, String sex, String birth, String place, String age, String nation, String status, String college, String workYear, String job, String major, String password) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.sex = sex;
        this.birth = birth;
        this.place = place;
        this.age = age;
        this.nation = nation;
        this.status = status;
        this.college = college;
        this.workYear = workYear;
        this.job = job;
        this.major = major;
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getWorkYear() {
        return workYear;
    }

    public void setWorkYear(String workYear) {
        this.workYear = workYear;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    @Override
    public String toString() {
        return this.name;
    }
}
